package cn.demoncat.util.pay.alipay.entity;

import cn.demoncat.util.pay.alipay.constant.AlipayConstant.RefundStatus;

/**
 * 支付宝对接结果 - 退款查询结果
 * 
 * @author 延晓磊
 *
 * @since 2019年9月24日
 */
public class AlipayResultRefundQuery extends AlipayResult{
 
	/**
	 * 支付宝交易流水号
	 * 
	 * 限：16  ~ 64
	 */
	private String trade_no;
	/**
	 * 商户交易流水号
	 * 
	 * 限：0 ~ 64
	 */
	private String out_trade_no;
	/**
	 * 商户退款流水号（用于退款）
	 * 
	 * 限：0 ~ 64
	 */
	private String out_request_no;
	/**
	 * 交易金额（创建支付的金额），单位为分
	 */
	private String total_amount;
	/**
	 * 退款总金额，单位为分
	 */
	private String refund_amount;
	/**
	 * 买家实际退款金额，单位为分
	 */
	private String present_refund_buyer_amount;
	/**
	 * 退款原因
	 * 
	 * 限：1 ~ 256
	 */
	private String refund_reason;
	/**
	 * 退款状态
	 */
	private RefundStatus refund_status;
	/** 
	 * 退款时间（默认不返回，需与支付宝约定后配置）
	 * 
	 * 限：yyyy-MM-dd HH:mm:ss
	 */
	private String gmt_refund_pay;
	
	public String getTrade_no() {
		return trade_no;
	}
	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getOut_request_no() {
		return out_request_no;
	}
	public void setOut_request_no(String out_request_no) {
		this.out_request_no = out_request_no;
	}
	public String getTotal_amount() {
		return total_amount;
	}
	public void setTotal_amount(String total_amount) {
		this.total_amount = total_amount;
	}
	public String getRefund_amount() {
		return refund_amount;
	}
	public void setRefund_amount(String refund_amount) {
		this.refund_amount = refund_amount;
	}
	public String getPresent_refund_buyer_amount() {
		return present_refund_buyer_amount;
	}
	public void setPresent_refund_buyer_amount(String present_refund_buyer_amount) {
		this.present_refund_buyer_amount = present_refund_buyer_amount;
	}
	public String getRefund_reason() {
		return refund_reason;
	}
	public void setRefund_reason(String refund_reason) {
		this.refund_reason = refund_reason;
	}
	public RefundStatus getRefund_status() {
		return refund_status;
	}
	public void setRefund_status(RefundStatus refund_status) {
		this.refund_status = refund_status;
	}
	public String getGmt_refund_pay() {
		return gmt_refund_pay;
	}
	public void setGmt_refund_pay(String gmt_refund_pay) {
		this.gmt_refund_pay = gmt_refund_pay;
	}
	
}
